import 'package:json_annotation/json_annotation.dart';

part 'RepositoryPermissions.g.dart';

@JsonSerializable()
class RepositoryPermissions extends Object with _$RepositoryPermissionsSerializerMixin {
  bool admin;
  bool push;
  bool pull;

  RepositoryPermissions(
      this.admin,
      this.push,
      this.pull,
      );

  factory RepositoryPermissions.fromJson(Map<String, dynamic> json) => _$RepositoryPermissionsFromJson(json);
}